package com.use;

//引入是小强的狗类
import com.xiaoqiang.Dog;


public class Test {
    public static void main(String[] args) {
        Dog dog = new Dog();
        System.out.println(dog); //com.xiaoqiang.Dog@49e4cb85

        com.xiaoming.Dog dog1 = new com.xiaoming.Dog();
        //明确的告诉编译器，dog是xiaoming这个包里面的dog
        System.out.println(dog1);//com.xiaoming.Dog@43a25848


    }
}
